package com.fizzkai.p2p.bussness.mapper;

import com.fizzkai.p2p.bussness.domain.PaymentScheduleDetail;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface PaymentScheduleDetailMapper {

    int insert(PaymentScheduleDetail record);

    PaymentScheduleDetail selectByPrimaryKey(Long id);

    List<PaymentScheduleDetail> selectAll();

    int updateByPrimaryKey(PaymentScheduleDetail record);

    void updatePayDateByPaymentScheduleId(@Param("id") Long id, @Param("date") Date date);
}